import { UserController } from "../controller/UserController";

export const usersRoutes = [
  {
    method: "get",
    route: "/queryUser",
    controller: UserController,
    action: "queryUser",
  },
  {
    method: "post",
    route: "/usersSave",
    controller: UserController,
    action: "registerUser",
  },
  {
    method: "get",
    route: "/usersLogin",
    controller: UserController,
    action: "usersLogin",
  },
  {
    method: "post",
    route: "/removeUser",
    controller: UserController,
    action: "removeUser",
  },
];
